package com.superb.system.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Author: ajie
 * @CreateTime: 2024-05-27 12:56
 */
@Data
@Schema(description = "用户信息")
public class UserInfo {

    @Schema(description = "用户信息")
    private User user;

    @Schema(description = "权限集合")
    private List<String> permissions;

    @Schema(description = "角色集合")
    private List<String> roles;

    @Schema(description = "数据权限集合")
    private List<DataScope> dataScopes;

    @Schema(description = "菜单集合")
    private List<MenuItem> menus;
}
